package triangleTestingApp;

import static org.testng.Assert.assertTrue;

import org.testng.annotations.Test;

//For instructions, please see the README file

public class ValidTriangleTypesTest extends BaseWebPageTest {
	public ValidTriangleTypesTest() throws Exception {
		super();
	}

	@Test
	public void canCreateRightTriangle() throws Exception {
		String firstSideSize = "3";
		String secondSideSize = "4";
		String thirdSideSize = "5";
		assertTrue(trianglePage.canSpecifyTriangle(firstSideSize, secondSideSize, thirdSideSize));
		
		assertTrue(trianglePage.triangleTypeLabelReads("Right"));
	}

}
